<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;


// // 前台的
// Route::get([
//     '/index'=>'index/index/index',
//     '/'=>'index/index/index'
//     ]);









// 后台的
Route::get([
//      '/admin/getnode/:id'=>'admin/role/getnode',
//      '/admin/getrole/:id'=>'admin/user/getrole',
//      '/admin/User/delete/:id'=>'/admin/User/delete/',
  
// // 显示添加页

//      '/admin/user/create'=>'admin/user/create',
//     '/admin/role/create'=>'admin/role/create',
//     '/admin/nodes/create'=>'admin/nodes/create',
// // 显示详情页
//     '/admin/user/getinfo/:id'=>'admin/user/getinfo',
//     '/admin/role/getinfo/:id'=>'admin/role/getinfo',
//     '/admin/nodes/getinfo/:id'=>'admin/nodes/getinfo',
// // 显示编辑页

//     '/admin/user/edit/:id'=>'admin/user/edit',
//     '/admin/role/edit/:id'=>'admin/role/edit',
//     '/admin/nodes/edit/:id'=>'admin/nodes/edit',

// 显示首页
    // '/admin/user'=>'admin/user/index',
    // '/admin/role'=>'admin/role/index',
    // '/admin/nodes'=>'admin/nodes/index',
    // '/admin/login'=>'admin/login/index',
    // '/admin'=>'admin/index/index'





    ]);



// // 执行添加post传输数据
// Route::post([
//     '/admin/user/create'=>'admin/user/doadd',
//     '/admin/role/create'=>'admin/role/doadd',
//     '/admin/nodes/create'=>'admin/nodes/doadd',
//     '/admin/dologin'=>'admin/login/dologin',
//     ]);

Route::delete([
    '/admin/user/:id'=>'admin/user/delete',
    '/admin/role/:id'=>'admin/role/delete',
    '/admin/channel/:id'=>'admin/channel/delete',
    
    ]);





// 匹配不到者路由
// Route::miss('admin/index/index');



return [

];
